Total Complexity | 26 |
Dependencies | 4 |
Dependents | 9 |
Total lines | 242 |
Lines of code | 113 |
Logical lines of code | 51 |
Comment lines | 65 |
Methods | 13 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
getQueryVars() | 56 | 4 | 19 | |
enqueueAssets() | 58 | 4 | 15 | |
getSubscriptionFromQueryVars() | 60 | 4 | 14 | |
makeSubscriptionMenuItemActive() | 62 | 3 | 12 | |
addMenuItem() | 62 | 3 | 11 | |
invalidSubscriptionNotice() | 64 | 1 | 11 | |
getActionNonceURL() | 64 | 1 | 11 | |
addSubscriptionsSlugToWooCommerceQueryVars() | 76 | 1 | 4 | |
isPage() | 80 | 1 | 3 | |
isSubscriptionUpdatePaymentMethodPage() | 79 | 1 | 3 | |
getNonceAction() | 74 | 1 | 4 | |
getSubscriptionURL() | 78 | 1 | 3 | |
getActionURL() | 78 | 1 | 3 |